/**
 * 
 */
package org.ejc.struts.search;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;

/**
 * @author Brian Boyle
 *
 * @struts.form name="searchRegistrantsForm"
 */
public class SearchRegistrantsForm extends ValidatorForm {
	
	private String firstName;
	private String lastName;
	private String advLastName;
	private Integer registrantTypeId;
	private Integer accomodationTypeId;
	private boolean preRegistration;
	private Integer lengthOfStay;
	private String preRegCode;
	private String advPreRegCode;
	private Integer countryCodeCountryId;
	private boolean advancedSearch;
	private Integer statusId;
	private String notes;
	
	/**
     * Reset all properties to their default values.
     *
     * @param mapping The mapping used to select this instance
     * @param request The servlet request we are processing
     */
    public void reset(ActionMapping mapping, HttpServletRequest request) {
    	firstName = null;
    	lastName = null;
    }
	
	/**
	 * @return Returns the firstName.
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @param firstName The firstName to set.
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @return Returns the lastName.
	 */
	public String getLastName() {
		return lastName;
	}
	/**
	 * @param lastName The lastName to set.
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return Returns the accomodationTypeId.
	 */
	public Integer getAccomodationTypeId() {
		return accomodationTypeId;
	}

	/**
	 * @param accomodationTypeId The accomodationTypeId to set.
	 */
	public void setAccomodationTypeId(Integer accomodationTypeId) {
		this.accomodationTypeId = accomodationTypeId;
	}

	/**
	 * @return Returns the countryCodeCountryId.
	 */
	public Integer getCountryCodeCountryId() {
		return countryCodeCountryId;
	}

	/**
	 * @param countryCodeCountryId The countryCodeCountryId to set.
	 */
	public void setCountryCodeCountryId(Integer countryCodeCountryId) {
		this.countryCodeCountryId = countryCodeCountryId;
	}

	/**
	 * @return Returns the lengthOfStay.
	 */
	public Integer getLengthOfStay() {
		return lengthOfStay;
	}

	/**
	 * @param lengthOfStay The lengthOfStay to set.
	 */
	public void setLengthOfStay(Integer lengthOfStay) {
		this.lengthOfStay = lengthOfStay;
	}

	/**
	 * @return Returns the preRegCode.
	 */
	public String getPreRegCode() {
		return preRegCode;
	}

	/**
	 * @param preRegCode The preRegCode to set.
	 */
	public void setPreRegCode(String preRegCode) {
		this.preRegCode = preRegCode;
	}

	/**
	 * @return Returns the preRegistration.
	 */
	public boolean getPreRegistration() {
		return preRegistration;
	}

	/**
	 * @param preRegistration The preRegistration to set.
	 */
	public void setPreRegistration(boolean preRegistration) {
		this.preRegistration = preRegistration;
	}

	/**
	 * @return Returns the registrantTypeId.
	 */
	public Integer getRegistrantTypeId() {
		return registrantTypeId;
	}

	/**
	 * @param registrantTypeId The registrantTypeId to set.
	 */
	public void setRegistrantTypeId(Integer registrantTypeId) {
		this.registrantTypeId = registrantTypeId;
	}

	/**
	 * @return Returns the advLastName.
	 */
	public String getAdvLastName() {
		return advLastName;
	}

	/**
	 * @param advLastName The advLastName to set.
	 */
	public void setAdvLastName(String advLastName) {
		this.advLastName = advLastName;
	}

	/**
	 * @return Returns the advancedSearch.
	 */
	public boolean getAdvancedSearch() {
		return advancedSearch;
	}

	/**
	 * @param advancedSearch The advancedSearch to set.
	 */
	public void setAdvancedSearch(boolean advancedSearch) {
		this.advancedSearch = advancedSearch;
	}

	/**
	 * @return Returns the advPreRegCode.
	 */
	public String getAdvPreRegCode() {
		return advPreRegCode;
	}

	/**
	 * @param advPreRegCode The advPreRegCode to set.
	 */
	public void setAdvPreRegCode(String advPreRegCode) {
		this.advPreRegCode = advPreRegCode;
	}

	public Integer getStatusId() {
		return statusId;
	}

	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}
	
	
	
}
